﻿package {
	import mx.controls.*;
	import mx.controls.listClasses.*;
	public class NumberRenderer extends ListItemRenderer {
		public function NumberRenderer() {
		}
    	override public function set listData(d:BaseListData):void {
    		if (d) {
    			var str:String = d.label;
    			d.label = (d.rowIndex + 1) + ", " + str;
    		}
      		super.listData = d;     
    	}
	}
}